<?php
class Config{
    public $dir;
    public $url;
    public $app_id;
    //授权回调地址
    public $redirect_uri;
    //私钥，一行字符串
    public $privateKey;
    //公钥，一行字符串
    public $publicKey;
    //系统商签约协议的PID
    public $partner_id;
    //授权完整响应体存放位置
    public $authDataPath;
    //授权信息查询完整响应体存放位置
    public $queryDataPath;
    //商户授权令牌（获取后填入）
    public $app_auth_token;
    //上传图片路径
    public $uploadImagePath;
    //创建门店完整响应体存放位置
    public $createShopDataPath;
    //创建门店异步通知完整响应体存放位置
    public $createShopNotifyDataPath;
    //查询开店审核状态完整响应体存放位置
    public $queryCreateShopDataPath;

    public function __construct() {
        $this->dir=dirname(dirname(__FILE__));
        $this->url='https://'.$_SERVER['HTTP_HOST'];
        $this->app_id='201705xxx1365xx';
        $this->redirect_uri='https://www.xxxx.com/ali_isv/libs/callback/AliIsv.php';
        $this->privateKey='MIIEpxxxAQEAnKykZeV3z4vyqkV8F5BGMNetnkmIgAlNoh1sXT9cwguemHfFGOpydaerMjyBz9mutwT5nZcVqBwHUplGeLf3BFe3X7ucvLesgJHCoEwHovzfQVe02EkN9+uuTe5VoI1JpTb8npHV6SkJSGQrVbIclFiOEpl4X36I1wBU1WUQI/JQB98SOcEoWdiBq6/g3C870doF69fE7h2+PFA3XGr7G7ZYsuUBgGPD9fq4A/C2nvoOjPkpoFdi/zplzSyhwRR1JJI8jps5O2gP5niFsAJ0D6wfasTfFZSp/wn1WbPk0kQnMd74CCiEfiAWgqYFIISZukajDVn6Z16NxdqQO6KZnwIDAQABAoIBAQCa9J08MnIHEdEV2tdartTdJdOPhAa/K3Re7F7q8uoY+UkIXxzPAcHm38gQTYvOOOv2E7OVy4Id3GrZpMLwTnK/FspEotfoRnkUSBWIWOoMp7FffRFeARMRq0WfyiNiQZsfDn1Xj8FTc8S8lmXNwfVGOzd46dUGDa3lh2xgCi6mfUuFrX5Bev/7GuUSuKkjogyuZJmthoQL6BZMNQM21vcCERkl+UIqh3biOX9g4a5/rkLIzQs35StMbH8CAdh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PpLf4rCdSndpHzvEtei7AW1V2/T7L0zKXa8ysuzuiqAqgRMR29FKhodNlvJN4wmpzT++QScB76fj2D9z8CjFAstrPA50updAxT4FjjZJuMyVrEaqUvQo0tAQJNnIW0bEuk5V3/Cvcabie/GBqu7X/B2xH2ic0hVEsg7MNhyW0KTafjNyXKVKGEh01Tm8c6VXyW3d7qPxjcOKr3bOKOLLKfgN6uOt0LKJGx3AbRQyPTA14DjgTCxeTfmxjvPu6P6rIEDnmM54cobbik31HkU2NrjQVF3ta3bQIDAQAB';
        $this->partner_id='20886xxx18071286';
        $this->authDataPath=$this->dir.'/libs/data/auth_data.json';
        $this->queryDataPath=$this->dir.'/libs/data/query_data.json';
        $this->app_auth_token='201906BBebxxxa61548ad8f77b95a081e7A96';
        $this->uploadImagePath=$this->dir.'/assets/image';
        $this->createShopDataPath=$this->dir.'/libs/data/create_shop_data.json';
        $this->createShopNotifyDataPath=$this->dir.'/libs/data/create_shop_notify_data.json';
        $this->queryCreateShopDataPath=$this->dir.'/libs/data/query_create_shop_data.json';
    }
}